<template>
    <div>
        <div v-for="item in lists" :key="item.id">
            {{item.name}}
        </div>
    </div>    
</template>
<script>
export default {
  name: "bPage",
  //   props: [isBro],
  data() {
      return{
          lists:[]
      }
  },
  created() {
    this.acceptList();
  },
  methods: {
    acceptList() {

      this.$eventBus.$on("add", (message) => {
          console.log("幼稚吗", message)
        this.lists.push({ name: message, inFinish: false });
        
      });
    }
  }
};
</script>